package com.netcracker.lab1.utils;

/**
 * Created with IntelliJ IDEA.
 * User: nocturne
 * Date: 26.01.13
 * Time: 1:26
 * To change this template use File | Settings | File Templates.
 */
public class ConvertDurations {

    private static ConvertDurations getInstance;

    private ConvertDurations() {
        if(getInstance == null) {
            getInstance = new ConvertDurations();
        }
    }

    private static ConvertDurations getInstance() {
        return getInstance;
    }
    /* get convert duration*/
    public static double convertDuration(Integer duration) {
        return duration/1000/60;

    }

}
